package com.link.order.converter;

import com.link.order.auto.Order;
import com.link.order.model.OrderDTO;

/**
 * @author tutao
 * @date 2025/10/6 5:43 PM
 * @description
 */
public class OrderConvert {

    public static Order convert(OrderDTO orderDTO){
        // todo 补充属性
        Order order = new Order();
        order.setUserId(orderDTO.getUserId());
        order.setStatus(orderDTO.getStatus());

        return order;
    }
}
